<template>
  <el-config-provider :size="size" :z-index="zIndex" :locale="locale">
      <div id="app">
        <router-view />
      </div>
  </el-config-provider>
</template>

<script>
import { defineComponent } from "vue";
import { ElConfigProvider } from "element-plus";
import zhCn from "element-plus/lib/locale/lang/zh-cn";
export default defineComponent({
  name: "App",
  components: { ElConfigProvider, [ElConfigProvider.name]: ElConfigProvider },
  setup() {
    let locale = zhCn;
    return {
      zIndex: 1980,
      size: "small",
      locale,
    };
  },
});
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
a{
  color: black;
}
</style>
